package cn.ai.boot.config.PCF;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author jie.zhao@dms365.com
 * @Date 2025/7/30 15:01
 */
public class Tt2222 {
    public static void main(String[] args) {
        System.out.println(1785 & 512);
        System.out.println(check());
        String name = "a";
        int a = 0;
        People people = new People();
        people.setAge(name);
        people.setA(a);

        name = "v";
        a = 100;

        System.out.println(people.getAge());
        System.out.println(people.getA());
    }

    public static boolean check() {
        Map<Long, Integer> instStepNumMaps = new HashMap<>();
        instStepNumMaps.put(1L, 1);
        instStepNumMaps.put(2L, 1);
        instStepNumMaps.put(3L, 1);
        instStepNumMaps.put(4L, 1);
        // 是否都为第1节点
        return instStepNumMaps.values().stream().noneMatch(value -> value != 1);
    }
}
